package cc.catface.service.admin;

import cc.catface.common.output.ResultBody;
import cc.catface.dao.admin.pojo.AdChannel;
import cc.catface.dao.admin.pojo.AdChannelAddInputDTO;
import org.springframework.web.bind.annotation.RequestBody;

public interface AdChannelService {

    ResultBody get(String name);

    ResultBody add(AdChannelAddInputDTO input);

    ResultBody update(@RequestBody AdChannel channel);

    ResultBody list();

    ResultBody listDetail();
}
